package com.camera.road.sink;

import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Event;
import com.google.gwt.user.client.ui.Hyperlink;

public class MenuLink extends Hyperlink {
	
	public MenuLink(String name, String path, int index){
		super(name, path);
		sinkEvents(Event.MOUSEEVENTS);
	}

	@Override
	public void onBrowserEvent(Event event) {
		switch (DOM.eventGetType(event)) {
		case Event.ONMOUSEOVER:
//			mouseOver(index);
			break;

		case Event.ONMOUSEOUT:
//			mouseOut(index);
			break;
		}
		super.onBrowserEvent(event);
	}

	
}
